<template>
  <h2>count: {{ Actione.count }}</h2>
  <button @click="Actione.randomizeCounter">+</button>
  <button @click="Actione.otherAction()">其他action</button>
  <hr />
  <h1>HTTPBin 请求测试</h1>
  <button @click="makeRequest">发送请求</button>
  <div v-if="Actione.response">
    <h3>Response</h3>
    <pre>{{ Actione.response }}</pre>
  </div>
</template>

<script setup>
import { useActione } from "@/stores/Actionexample";
const Actione = useActione();

const makeRequest = () => {
  Actione.testHttpRequest();
};
</script>

<style scoped></style>
